package com.hn.zhijian.start;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author carl chen
 */
@SpringBootApplication
@ComponentScan("com.hn.zhijian.*")
@MapperScan({"com.hn.zhijian.system.mapper"})
@EnableTransactionManagement
public class MainApplication {

    public static void main(String[] args) {
       SpringApplication.run(MainApplication.class, args);
    }

}
